Action

public final class Action extends AsyncCallbackAction<R>

An action providing a response to the OpenFilesCallback.

Constructors

Link copied to clipboard
public void OpenFilesCallback.Action(Consumer<OpenFiles.Response> consumer)

Functions

Link copied to clipboard
public void cancel()
Notifies the browser that the file chooser dialog should be canceled.
Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.
Link copied to clipboard
public void open(Array<Path> filePaths)
Notifies the browser that the files were selected in the file chooser dialog.